echo off
echo DID YOU SET YOUR ENVIRONMENT VARIABLES???
echo .
echo .
echo Do the Lex
echo -----------
call %LEX_PATH% -d %DST_PATH%\ -v --time --pack %SRC_PATH%\upbeat.flex
echo
echo DOING THE YACC
echo ----------------
cd %SRC_PATH%\
call %YACC_PATH% -b upbeat -v -Jsemantic=upbeatVal -Jpackage=upbeat.frontend -Jclass=parser -Jnoconstruct upbeat-a.yacc

move *.java %DST_PATH%\

